package com.im.project.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * 删除会话参数
 *
 * @author yunZhouJiaDi
 */
@Data
public class DeleteChatDto {

    @NotEmpty(message = "用户id不能为空")
    @ApiModelProperty("用户id")
    private String userId;

    @NotEmpty(message = "联系人id不能为空")
    @ApiModelProperty("联系人id")
    private String contactId;

    @NotEmpty(message = "会话id不能为空")
    @ApiModelProperty("会话id")
    private String chatId;

}
